package top.xunfong.api.probe.domain.dto;

//import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

@Data
public class ProbeDTO {
//    @Schema(description = "用户id")
    private Long userId;

//    @Schema()
    private Date logTime;

//    @Schema()
    private Date createTime;

    @Size(max = 50, message = "编码长度不能超过50")
//    @Schema()
    @Length(max = 50, message = "编码长度不能超过50")
    private String createBy;

//    @Schema()
    private Date updateTime;

    @Size(max = 50, message = "编码长度不能超过50")
//    @Schema()
    @Length(max = 50, message = "编码长度不能超过50")
    private String updateBy;
}
